{include_core file="m/lib/header.html" title="搜索"}
<div class="search-page">
  <div class="search-box">
    <span class="txt"><input type="text" class="js_sTopIpt" value="{$goods_title}" placeholder="请输入您要查找的内容" /></span>
    <a href="javascript:void(0);" class="btn js_sTopBtn"></a>
  </div>
  {if $goods_title}
  <div class="search-result">
    <h2>共为您找到<em> {$goods_count} </em>款商品</h2>
    <ul>
      {foreach $goods_list as $k=>$v}
      <li>
        {$img = _uri('attachment', $v.cover, 'path')}
        <span class="img-box"><img src="{_image($img, 'middle')}"></span>
        <div class="infor">
          <a href="{AnUrl('goods/sku?id=')}{$v.id}" class="tit">{$v.title}</a>
          <p>售价：<em></em>￥{$v.price}</em></p>
        </div>
      </li>
      {/foreach}
    </ul>
  </div>
  {if !$goods_list}
  <dl class="start-search">
    <dd>
      <a href="{AnUrl('topic/x330')}">new air x330</a>
      <a href="{AnUrl('topic/newglass')}">智能眼镜 new glass</a>
      <a href="{AnUrl('topic/d600')}">LUFTMED D600/D300</a>
      <a href="{AnUrl('topic/m100')}">智能眼镜 M100</a>
      <a href="{AnUrl('topic/newifi')}">newifi mini</a>
      <a href="{AnUrl('topic/mengqibi')}">mozbii 萌奇笔</a>
    </dd>
  </dl>
  {/if}
  {else}
  <dl class="start-search">
    <dt>看看大家在找什么</dt>
    <dd>
      <a href="{AnUrl('topic/x330')}">new air x330</a>
      <a href="{AnUrl('topic/newglass')}">智能眼镜 new glass</a>
      <a href="{AnUrl('topic/d600')}">LUFTMED D600/D300</a>
      <a href="{AnUrl('topic/m100')}">智能眼镜 M100</a>
      <a href="{AnUrl('topic/newifi')}">newifi mini</a>
      <a href="{AnUrl('topic/mengqibi')}">mozbii 萌奇笔</a>
    </dd>
  </dl>
  {/if}
  </div>
  <script language="JavaScript" type="text/javascript"><!--
/* You may give each page an identifying name, server, and channel on
the next lines. */
{if $goods_title && $goods_list}

s.pageName="Nbd:搜索结果页(有结果):{$goods_title}";
s.server=""
s.channel="Nbd"
s.pageType=""
s.prop1="Nbd:搜索结果页(有结果)";
s.prop2="Nbd:搜索结果页(有结果):{$goods_title}";
s.prop3="Nbd:搜索结果页(有结果):{$goods_title}";
s.prop4="Nbd:搜索结果页(有结果):{$goods_title}";
/* Conversion Variables */
s.campaign=""
s.state=""
s.zip=""
s.events=""
s.products=""
s.purchaseID=""
s.eVar1=""
s.eVar2=""
s.eVar3=""
s.eVar4=""
s.eVar5=""

{elseif $goods_title && !$goods_list}

s.pageName="Nbd:搜索结果页(无结果):{$goods_title}";
s.server=""
s.channel="Nbd"
s.pageType=""
s.prop1="Nbd:搜索结果页(无结果)";
s.prop2="Nbd:搜索结果页(无结果):{$goods_title}";
s.prop3="Nbd:搜索结果页(无结果):{$goods_title}";
s.prop4="Nbd:搜索结果页(无结果):{$goods_title}";
/* Conversion Variables */
s.campaign=""
s.state=""
s.zip=""
s.events=""
s.products=""
s.purchaseID=""
s.eVar1=""
s.eVar2=""
s.eVar3=""
s.eVar4=""
s.eVar5=""

{elseif !$goods_title}
s.pageName="Nbd:商品列表页";
s.server=""
s.channel="Nbd"
s.pageType=""
s.prop1="Nbd:商品列表页";
s.prop2="Nbd:商品列表页";
s.prop3="Nbd:商品列表页";
s.prop4="Nbd:商品列表页";
/* Conversion Variables */
s.campaign=""
s.state=""
s.zip=""
s.events=""
s.products=""
s.purchaseID=""
s.eVar1=""
s.eVar2=""
s.eVar3=""
s.eVar4=""
s.eVar5=""
{/if}
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)//--></script>
<script language="JavaScript" type="text/javascript"><!--
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
//--></script><noscript><img src="http://lenovochina.122.2o7.net/b/ss/lenovo-nbd-prd/1/H.26.2--NS/0"
height="1" width="1" border="0" alt="" /></noscript><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.26.2. -->
{include_core file="m/lib/footer.html"}